package com.itheima.Service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface SetmealService {

    void add(String checkgroupIds, Setmeal setmeal);

    /**
     * 图片上传
     * @param imgFile
     * @return
     */
    String upload(MultipartFile imgFile) throws IOException;

    void update(Setmeal setmeal, String checkgroupIds) throws Exception;

    Setmeal findById(String id);

    PageResult findPage(QueryPageBean queryPageBean);
}
